import request from '@/utils/request'

// 查询用户列表
export function listTeacher(query) {
    return request({
        url: '/system/teacher/list',
        method: 'get',
        params: query
    })
}

// 新增用户
export function addTeacher(data) {
    return request({
        url: '/system/teacher',
        method: 'post',
        data: data
    })
}
